<template>
  <div class="hello text-center">
    <h1>{{ msg }}</h1>
  </div>
</template>

<script>
export default {
  created() {
    if(window.careRole == 'departmenthome' ) {
      this.$router.replace('departmenthome');
    };
     if(window.careRole == 'infomationCenter' ) {
      this.$router.replace('infomationCenter');
    }
  },
  data () {
    return {
      // note: changing this line won't causes changes
      // with hot-reload because the reloaded component
      // preserves its current state and we are modifying
      // its initial state.
      msg: '暂未开放,敬请期待!!!'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1 {
  color: #42b983;
  margin-top: 216px;
}
</style>
